package com.lixixi.dao;

import com.lixixi.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper
{
	/**
	 * 查询所有用户数据
	 * @return
	 */
	public List<User> selectAlluser();

	public User finduserById(@Param("id") int id);

	public boolean deleteuserById(@Param("id") int id);

	public int insertuser(User user);

	public int updateuserById(User user);
}
